package com.sh.data.engine.application.model.request.integration;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@Schema
public class OfflineTaskDirChangeRequest {

    @NotNull(message = "目标id不能为空")
    @Schema(description = "移动目标id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @NotNull(message = "父目录不能为空")
    @Schema(description = "父目录id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long pid;
}
